@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./layout.scss";
@import "./menu.scss";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  background: $pageBg;
}

body{
  margin: 0;
}
html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//  global css
.flex {
  display: flex;
}

//滚动条样式
@media screen and (min-width: 768px) {
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
}

@media screen and (min-width: 768px) {
  ::-webkit-scrollbar-corner {
    background: transparent;
  }
}

@media screen and (min-width: 768px) {
  ::-webkit-scrollbar-thumb {
    border-radius: 6px;
    border: 2px solid transparent;
    background-color: rgba(0, 0, 0, 0.38);
    background-clip: padding-box;
  }
}

@media screen and (min-width: 768px) {
  ::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 5px;
  }
}

.nopadding{
  padding: 0;
  background: #fff;
}